<%@ page contentType="text/html;charset=UTF-8"%>
<%@ page import="jt.classic.system.user.IUser"%>
<%@ page import="jt.classic.system.ISystem"%>

<%
   String context = jt.classic.system.ISystem.getContextPath();
   
   IUser user = ISystem.getSessionUser(request);
   
   response.setHeader("Pragma","No-cache");//HTTP 1.1 
   response.setHeader("Cache-Control","no-cache");//HTTP 1.0 
   response.setDateHeader("Expires",0);//防止被proxy
   
   String userName = user != null ? user.iname() : "";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>欢迎登录-综合办公系统</title>

    <jsp:include page="../system/head.jsp"></jsp:include>

    <link rel="stylesheet" type="text/css" href="layout-browser.css"></link>
    <!-- page specific -->
    <script type="text/javascript" src="layout-browser.js"></script>
    <script type="text/javascript" src="js/Clock.js"></script>
    <script type="text/javascript" src="js/msg.js"></script>
</head>
<body>
    <div id="header"><h1>综合办公系统</h1>
    <span style="position:absolute;right:200;top:10;font-size:12px;color:#fff;">登录用户 --- <%=userName %>&nbsp;,<span id="clock"></span>
    <span style="position:absolute;right:-190;top:-7;font-size:12px;color:#fff;">
    <a href="javascript:void(0);" target="_self" onClick="logout();"><img style="vertical-align:middle;" src="images/logout.png" alt="注销当前会话,退出综合办公系统" width="25" height="25" border="0"></a>
    </span>
    </span>
    </div>
    <a id="menuhref"></a>        
</body>
</html>
